package com.linkhub.oms.dao.mpservice;

import com.linkhub.oms.entity.CompanyEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 商家公司表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-05-16
 */
public interface ICompanyService extends IService<CompanyEntity> {

    List<CompanyEntity> listByUserId( String userId );

    CompanyEntity getByUserId( String userId );

    boolean exist(String userId, Long id, String companyName);

}
